package com.kaibes.admin.theme;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import com.kaibes.web.admin.AdminMenu;
import com.kaibes.web.admin.AdminMenuRes;

@Configuration
public class ThemeInit {

    @Bean
    public AdminMenu themeMenu() {
        AdminMenu menu = new AdminMenu();
        menu.setKey("themes");
        menu.setName("主题设置");
        menu.setIcon("fas fa-tachometer-alt");
        menu.setHref("/admin/theme/setting");
        menu.setSort(4);
        menu.setParentKey(AdminMenuRes.MENU_SETTING);
        return menu;
    }
    
}
